package com.ygxsk.carhome.views.spinner;

enum PopUpTextAlignmentsk {
    START(0),
    END(1),
    CENTER(2);

    private final int id;

    PopUpTextAlignmentsk(int id) {
        this.id = id;
    }

    static PopUpTextAlignmentsk fromId(int id) {
        for (PopUpTextAlignmentsk value : values()) {
            if (value.id == id) return value;
        }
        return CENTER;
    }
}